Mapping Aspect-Oriented Models to Aspect-Oriented Code

نویسندگان

  • Max E. Kramer
  • Jörg Kienzle
چکیده

When aspect-oriented modeling techniques are used in the context of Model-Driven Engineering, a possible way of obtaining an executable from an aspect-oriented model is to map it to code written in an aspect-oriented programming language. This paper presents important challenges that a modeler has to face when mapping aspect-oriented models to an aspect-oriented programming language: mapping structure and behavior of a single aspect, mapping instantiation of structure and behavior in target models, mapping conflict resolution between aspects, and mapping aspect dependencies and variability. To explain these mapping issues, our paper presents details on how to map aspect-oriented models as defined in the Reusable Aspect Models (RAM) approach to AspectJ source code. Example models from the AspectOPTIMA case study and the corresponding mapped code are used as illustration and together with our general mapping they could serve as a first step towards a code generator for RAM or other aspect-oriented modeling approaches.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Reusable Aspect Models versus Theme/UML: the Aspect-Oriented Code Generation Perspective

The integration of aspect oriented modeling approaches with model-driven engineering process achieved through their direct transformation to aspect-oriented code is expected to enhance the software development from many perspectives. This study aims to assess the existing UML-based aspect-oriented modeling techniques from the perspective of their suitability with regards to integration into mod...

متن کامل

Aspect Oriented UML to ECORE Model Transformation

With the emerging concept of model transformation, information can be extracted from one or more source models to produce the target models. The conversion of these models can be done automatically with specific transformation languages. This conversion requires mapping between both models with the help of dynamic hash tables. Hash tables store reference links between the elements of the source...

متن کامل

Generating Aspect Code from UML Models

This position paper presents a concept for aspect-oriented design and a seamless integration of AO design and implementation. We suggest a design notation based on standard UML which separates clearly the reusable programming language independent design of aspect code and base (business logic) code from the language dependant cross-cutting parts. Thus fostering reuse of aspect code and simplify...

متن کامل

Aspect-oriented model-driven code generation: A systematic mapping study

Context: Model-driven code generation is being increasingly applied to enhance software development from perspectives of maintainability, extensibility and reusability. However, aspect-oriented code generation from models is an area that is currently underdeveloped. Objective: In this study we provide a survey of existing research on aspect-oriented modeling and code generation to discover curr...

متن کامل

An Approach for Aspect-oriented Skeleton Code Generation from Reusable Aspect Models

Model-driven code generation has been a topic of interest for researchers owing to its several benefits including the anticipated reduction in development effort and delivery time. It has taken a good deal of time to produce techniques that generate executable code in object-oriented programming languages. Aspectoriented software development techniques, though expected to enhance software devel...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010